<script setup lang="ts">
import { RouterLink, RouterView } from 'vue-router'

</script>

<template>

      <nav>
        <RouterLink to="/">Home</RouterLink>
        <RouterLink to="/about">About</RouterLink>
        <RouterLink to="/demo">Demo</RouterLink>
        <RouterLink to="/login">登录</RouterLink>
        <RouterLink to="/adduser">注册</RouterLink>
        <RouterLink to="/numadd">会员添加</RouterLink>
        <RouterLink to="/shownumber">会员显示</RouterLink>
        <RouterLink to="/addshop">门店增加</RouterLink>
         <RouterLink to="/showshop">门店显示</RouterLink>
      </nav>

      <RouterView />
</template>

<style scoped>
  a{
    margin: 0 10px;
  }
</style>
